Duplicate a directory with find and cpio

Sometimes we need to duplicate a directory with subfolders into a new location on the same server and we have to make sure that these directories are exactly the same. Normally – but not best – we use the cp -pr command. The result is that our softlinks aren’t links anymore and the timestamps of … Continue reading Duplicate a directory with find and cpio